package com.fa4j.system.settings.model;


import com.fa4j.common.base.model.CommonState;
import com.fa4j.common.base.model.PageQuery;
import com.fa4j.common.data.annotation.Query;
import com.fa4j.common.data.model.QueryType;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

@Data
@Schema(description = "系统字典分页查询参数")
public class DictQuery extends PageQuery {

    @Schema(description = "ID")
    private Integer id;

    @Query(type = QueryType.LIKE)
    @Schema(description = "字典名称")
    private String dictName;

    @Schema(description = "字典编码")
    private String dictCode;

    @Schema(description = "值类型")
    private DictValueType valueType;

    @Schema(description = "状态")
    private CommonState state;

    @Schema(description = "上级ID")
    private Integer parentId;

    @Schema(description = "根ID")
    private Integer rootId;

}
